package com.jiangnan;

import com.jiangnan.view.HomeFrame;

import javax.swing.*;

public class App {

    // 当前系统的风格
    public static final String defaultStyle = UIManager.getSystemLookAndFeelClassName();

    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(defaultStyle);
        } catch (Exception e) {
            e.printStackTrace();
        }
        HomeFrame frame = HomeFrame.frame();
        frame.setSize(600, 600);
        SwingUtilities.updateComponentTreeUI(frame);
        frame.setVisible(true);

    }

}
